package com.ruoyi.repair.repairApprove.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 维修申请对象 biz_vehicle_repair
 *
 * @author xzshan
 * @date 2020-06-03
 */
public class BizVehicleRepair extends BaseEntity {
  private static final long serialVersionUID = 1L;

  /**
   * null
   */
  private Long id;

  /**
   * 登录名
   */
  @Excel(name = "登录名")
  private String username;

  /**
   * 工种
   */
  @Excel(name = "工种")
  private String workType;

  /**
   * 车牌号
   */
  @Excel(name = "车牌号")
  private String plateNo;

  /**
   * 地点
   */
  @Excel(name = "地点")
  private String position;

  /**
   * 申请缘由
   */
  @Excel(name = "申请缘由")
  private String reason;

  /**
   * 现场照片路径
   */
  @Excel(name = "现场照片路径")
  private String sencePics;

  /**
   * 现场视频录像文件路径
   */
  @Excel(name = "现场视频录像文件路径")
  private String scenceVideo;

  /**
   * 所属项目
   */
  @Excel(name = "所属项目")
  private String projectId;

  /**
   * 所属项目名称
   */
  @Excel(name = "所属项目名称")
  private String projectName;

  /**
   * 维修时间
   */
  @Excel(name = "维修时间", width = 30, dateFormat = "yyyy-MM-dd")
  private Date repaireTime;

  /**
   * 开始时间
   */
  @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
  private Date startTime;

  /**
   * 结束时间
   */
  @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
  private Date endTime;

  /**
   * 流程实例ID
   */
  @Excel(name = "流程实例ID")
  private String instanceId;

  /**
   * 申请人
   */
  @Excel(name = "申请人")
  private String applyUser;

  /**
   * 申请时间
   */
  @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
  private Date applyTime;

  /**
   * 实际开始时间
   */
  @Excel(name = "实际开始时间", width = 30, dateFormat = "yyyy-MM-dd")
  private Date realityStartTime;

  /**
   * 实际结束时间
   */
  @Excel(name = "实际结束时间", width = 30, dateFormat = "yyyy-MM-dd")
  private Date realityEndTime;

  public void setId(Long id) {
    this.id = id;
  }

  public Long getId() {
    return id;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getUsername() {
    return username;
  }

  public void setWorkType(String workType) {
    this.workType = workType;
  }

  public String getWorkType() {
    return workType;
  }

  public void setPlateNo(String plateNo) {
    this.plateNo = plateNo;
  }

  public String getPlateNo() {
    return plateNo;
  }

  public void setPosition(String position) {
    this.position = position;
  }

  public String getPosition() {
    return position;
  }

  public void setReason(String reason) {
    this.reason = reason;
  }

  public String getReason() {
    return reason;
  }

  public void setSencePics(String sencePics) {
    this.sencePics = sencePics;
  }

  public String getSencePics() {
    return sencePics;
  }

  public void setScenceVideo(String scenceVideo) {
    this.scenceVideo = scenceVideo;
  }

  public String getScenceVideo() {
    return scenceVideo;
  }

  public void setProjectId(String projectId) {
    this.projectId = projectId;
  }

  public String getProjectId() {
    return projectId;
  }

  public void setProjectName(String projectName) {
    this.projectName = projectName;
  }

  public String getProjectName() {
    return projectName;
  }

  public void setRepaireTime(Date repaireTime) {
    this.repaireTime = repaireTime;
  }

  public Date getRepaireTime() {
    return repaireTime;
  }

  public void setStartTime(Date startTime) {
    this.startTime = startTime;
  }

  public Date getStartTime() {
    return startTime;
  }

  public void setEndTime(Date endTime) {
    this.endTime = endTime;
  }

  public Date getEndTime() {
    return endTime;
  }

  public void setInstanceId(String instanceId) {
    this.instanceId = instanceId;
  }

  public String getInstanceId() {
    return instanceId;
  }

  public void setApplyUser(String applyUser) {
    this.applyUser = applyUser;
  }

  public String getApplyUser() {
    return applyUser;
  }

  public void setApplyTime(Date applyTime) {
    this.applyTime = applyTime;
  }

  public Date getApplyTime() {
    return applyTime;
  }

  public void setRealityStartTime(Date realityStartTime) {
    this.realityStartTime = realityStartTime;
  }

  public Date getRealityStartTime() {
    return realityStartTime;
  }

  public void setRealityEndTime(Date realityEndTime) {
    this.realityEndTime = realityEndTime;
  }

  public Date getRealityEndTime() {
    return realityEndTime;
  }

  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
      .append("id", getId())
      .append("username", getUsername())
      .append("workType", getWorkType())
      .append("plateNo", getPlateNo())
      .append("position", getPosition())
      .append("reason", getReason())
      .append("sencePics", getSencePics())
      .append("scenceVideo", getScenceVideo())
      .append("projectId", getProjectId())
      .append("projectName", getProjectName())
      .append("repaireTime", getRepaireTime())
      .append("startTime", getStartTime())
      .append("endTime", getEndTime())
      .append("instanceId", getInstanceId())
      .append("createBy", getCreateBy())
      .append("createTime", getCreateTime())
      .append("updateBy", getUpdateBy())
      .append("updateTime", getUpdateTime())
      .append("applyUser", getApplyUser())
      .append("applyTime", getApplyTime())
      .append("realityStartTime", getRealityStartTime())
      .append("realityEndTime", getRealityEndTime())
      .toString();
  }
}
